WcJUpsellator\WooActions B

Total Complexity 80
Dependencies 7
Dependents 1
Total lines 535
Lines of code 308
Logical lines of code 157
Comment lines 133
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
register()
A
38 8 82
changeItemPrice()
A
52 10 23
markAsUpsell()
A
55 9 17
showDiscountFromUpsell()
S
57 6 15
wc_timeline_fragments()
S
50 4 29
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
63 5 9
showUpsellatorLabel()
S
53 3 28
calculateNewPrice()
S
59 4 13
calculateTotalUpsell()
S
61 4 12
editcartPageName()
S
61 4 12
wc_timeline_update_qty()
S
61 3 12
editCartPageItemClasses()
S
66 3 9
editCartPageQuantity()
S
66 3 7
preventCouponDiscountForUpsells()
S
78 2 3
wc_timeline_remove_item()
S
68 2 7
checkoutUpsell()
S
91 1 2
cartPageUpsell()
S
87 1 3
checkoutUpsellFragment()
S
82 1 3
recalculateGifts()
S
69 1 7
__construct()
S
91 1 2